package com.example.conference.domain.dto;

import com.github.pagehelper.IPage;
import lombok.Data;

@Data
public class PageParam implements IPage {

    //当前页码
    private Integer pageNum = 1;
    //页面容量
    private Integer pageSize = 5;

    //排序
    private String orderBy;

    @Override
    public Integer getPageNum() {
        return pageNum;
    }
    @Override
    public Integer getPageSize() {
        return pageSize;
    }
    @Override
    public String getOrderBy() {
        return orderBy;
    }
}
